<%@ include file="../includes/taglibs.jsp"%>

<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<div>
	<aplana:pagination pagination="${pagination}" />
	
	<c:forEach var="article" items="${articles}" varStatus="status">
		<div class="section">
			<img src="${article.header.image.link}" /> <a
				href="<c:url value="${article.URL}" />">${article.header.headline}</a>
			<p>${article.header.abstractText}</p>
		</div>

		<c:if test="${!status.last}">
			<div class="clear"></div>
			<div class="lineSeparator"></div>
		</c:if>

	</c:forEach>
	
	<aplana:pagination pagination="${pagination}" />
</div>
